<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加客户页面</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>

<div style="width:600px;height:100%;margin-left:270px;">
    <form action="/add" method="POST">
        <!--        form-control给input添加这个class后就会使用bootstrap自带的input框-->
        客户编号：<input class="form-control" type="text" th:value="${custNo}" name="custNo"><br>
        <!--注意参数的拼接-->
        客户姓名：<input class="form-control" type="text" th:value="${custName}" name="custName"><br>
        客户等级：<input class="form-control" type="text" th:value="${custLevel}" name="custLevel"><br>
        新增时间：<input class="form-control" type="text" th:value="${createTime}" name="createTime"><br>
        最后修改时间：<input class="form-control" type="text" th:value="${lastModifyTime}" name="lastModifyTime"><br>
        删除标志：<input class="form-control" type="text" th:value="${deleteFlag}" name="deleteFlag"><br>
        <button class="btn btn-primary btn-lg btn-block">保存</button>
    </form>
</div>

</body>
</html>

